package mapper;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.example.javabean.User;

import java.util.List;

public interface UserMapper {
    List<User> selectAllUser();

    @Select("select * from user where name=#{name}")
    User selectByUsername(String name);

    int deleteByArray(int[] ids);

}
